package com.heima.model.admin.pojos;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@TableName("ad_channel")
@Data
public class AdChannel implements Serializable {
    //?
    private static final long serialVersionUID = 1L;

    @TableId(value ="id" ,type=IdType.AUTO )
    private   Integer id;
    @TableField("name")
    private  String name;

    @TableField("description")
    private  String description;

    @TableField("is_default")
    private Boolean isDefault;
    @TableField("status")
    private Boolean status;

    @TableField("ord")
    private Integer ord;

    @TableField("created_time")
    private Date createdTime;
}
